/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package simplepushserver.gui;

/**
 *
 * @author Filip
 */
public class UpdateEvent {
    private int newValue;
    private int max;
    private String message = "";

    public UpdateEvent(int current, int max) {
        this.newValue = current;
        this.max = max;
    }

    public UpdateEvent(int newValue, int max, String message) {
        this.newValue = newValue;
        this.max = max;
        this.message = message;
    }


    public void setMax(int max) {
        this.max = max;
    }

    public void setNewValue(int newValue) {
        this.newValue = newValue;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
    
    public int getMax() {
        return max;
    }

    public int getNewValue() {
        return newValue;
    }
}
